package com.yami.shop.webservice.common.model;
import com.alipay.api.domain.AttachmentInfo;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;


/**
 * 作品存证参数
 * @author peihao
 * @date 2023/1/5
 **/
@Data
public class FileEvidenceDto {

    //名称
    @NotBlank(message = "作品名称不能为空")
    private String workName;

    //存证作品样本文件
    @NotEmpty(message = "存证作品样本文件不能为空")
    private List<Long> attachIds;

    //著作权人id
    @NotEmpty(message = "著作权人id不能为空")
    private List<Long> ownerIds;

//    @ApiModelProperty(value = "版保中心用户id", hidden = true)
//    @JsonProperty("userId")
//    private Integer userId;

    //平台用户主键id
    private String platformUserId;

    //著作权人集合
    private List<OwnerDto> ownerDtos;

    //著作权人集合
    private List<AttachmentInfo> sampleFileList;
}
